package com.fjl.pojo;

public class NextTaskInfo
{

    private String taskKey;
    
    private String taskName;

    public String getTaskKey()
    {
        return taskKey;
    }

    public String getTaskName()
    {
        return taskName;
    }

    public void setTaskKey(String taskKey)
    {
        this.taskKey = taskKey;
    }

    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }   
    
    /* (non-Javadoc)
     * @see java.lang.Object#equals(java.lang.Object)
     */
    @Override
    public boolean equals(Object obj)
    {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        NextTaskInfo other = (NextTaskInfo) obj;
        if (taskKey == null)
        {
            if (other.taskKey != null)
                return false;
        } else if (!taskKey.equals(other.taskKey))
            return false;
        if (taskName == null)
        {
            if (other.taskName != null)
                return false;
        } else if (!taskName.equals(other.taskName))
            return false;
        return true;
    }
    
    /* (non-Javadoc)
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode()
    {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((taskKey == null) ? 0 : taskKey.hashCode());
        result = prime * result + ((taskName == null) ? 0 : taskName.hashCode());
        return result;
    }
    
}
